package com.facade;

public class Facade {
	SubSystemOne one;
	SubSystemTwo two;
	SubSystemThree three;
	SubSystemFour four;
	public Facade(){
		one = new SubSystemOne();
		two = new SubSystemTwo();
		three = new SubSystemThree();
		four = new SubSystemFour();
	}
	
	public void methodA(){
		System.out.println("方法组A");
		one.MethodOne();
		two.MethodTwo();
	}
	public void methodB(){
		System.out.println("方法组B");
		three.MethodThree();
		four.MethodFour();
	}
}
